/**
 * The instantiation of the player class.
 *
 * @author Levester Chaney
 * @version 0.0.1
 */

#include "abstractTypes.h"

inventory :: inventory()
{
	this->moneyUS = 0;
	this->equips = new vector<item*>();
	this->gathered = new vector<item*>();
}

inventory :: ~inventory()
{
	// destroys this object
}

unsigned long
inventory :: getMoneyUS() const
{
	return this->moneyUS;
}

vector<item*>
inventory :: getEquips() const
{
	return (*this->equips);
}

vector<item*>
inventory :: getGathered() const
{
	return (*this->gathered);
}

void
inventory :: addItem(item* i)
{
	this->gathered->push_back(i);
}
